﻿using ShanNiang.Hosting.Common;
using ShanNiang.Hosting.Enumerate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Service.PackingModels.Requests
{
    public class GetPalletsPageRequest : PageRequest
    {
        public GetPalletsPageRequest(Guid? enterpriseId)
        {
            EnterpriseId = enterpriseId;
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTimeOffset? BeginTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTimeOffset? EndTime { get; set; }
        /// <summary>
        /// 企业id
        /// </summary>
        public Guid? EnterpriseId { get; set; }


        public override ApiServer ApiServer => ApiServer.XkmServer;

        public override HttpMethod Method => HttpMethod.Get;

        public override bool NeedToken => true;

        protected override string RequestPath => "/api/Packing/GetPalletsPage";
    }
}
